Associating Movies With Controllers
Once your application has established a connection to a movie controller component, you may associate one movie with a movie controller. By default, the new controller has editing and keystroke processing turned off.You create a new movie controller and assign it to a movie by calling the
NewMovieController
function. This is the easiest way to use a movie controller component.If you want to exert more control over the assignment of movies to controllers, you can use other movie controller functions. If you want to assign a movie to an existing controller, you can use the
MCNewAttachedController
function. Use theMCSetMovie
function to assign a movie to or remove a movie from a controller. You can use theMCGetMovie
function to retrieve a reference to the movie that is assigned to a controller.
Subtopics
- When you are done with a controller, use the DisposeMovieController function to dispose of the controller.NewMovieController
- MCNewAttachedController
- MCSetMovie
- MCGetMovie
- DisposeMovieController
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help